"Marker"
,"chr"
and "PP"
as described for BSpgmap
dataset. You can import this data any way you prefer to obtain the data frame. Described here is one simple way to import it from a file: cross
object (here seed10
). The markers must appear in the same order as the markers and chromosomes in the cross
object (in the same order of the map !). Take a look on the sample file:
"Marker","chr","PP" "MSAT100008",1,8639 "T1G11",1,1243250 "F21M12",1,3212191 "IND4992",1,4992444 "IND6375",1,6375557 "MSAT1.10",1,7296649 "MSAT108193",1,8192951 etc\dotsTake a look within R to the
cross
object:
seed10.clean$geno$'1'$map seed10.clean$geno$'2'$map seed10.clean$geno$'3'$map etc\dots
a_new_pgmap <- read.table("./fileName",header=TRUE,sep=",");The code should work if it is placed within the R working directory. If not replace
"./fileName"
with the correct directory ( Windows users must use either foward slashe "/"
or double backslashes "\"
."etrait.name"
,"chr"
, "start"
and "stop"
as described for ATH.coord
. By the same way as the map data importation, you can do by the way you wanted. The importation process is quite similar. Here the file can describe more expression trait than the phenotypes described in cross
object. Of course all etraits described in cross
object must have coordinates in the file. "etrait.name","chr","start","stop" "CATMA1A00010",1,4707,4972 "CATMA1A00020",1,6442,6653 "CATMA1C71002",1,7579,7791 "CATMA1A00030",1,12268,12486 "CATMA1A00035",1,30923,31142 "CATMA1A00040",1,31232,31381 "CATMA1A00045",1,33814,34211 "CATMA1A00050",1,38785,38971 etc\dotsTake a look within R to the
cross
object:
names(seed10.cleaned$phe)[1:10]
new_probes.coord <- read.table('path_to_file',header= TRUE,sep=",");